
import fetch from '../utils/fetch'

/**
 * 查询设计师信息
 */
const designerId = localStorage.designerId
export function queryDesignerInfo() {
    return fetch({
        url: '/ygsj/designerInfo/queryDesignerInfo/' + designerId,
        method: 'get',
    })
}


/**
 * 保存设计师信息
 */
export function saveOrUpdateDesignerInfo(data) {
    return fetch({
        url: '/ygsj/designerInfo/saveOrUpdateDesignerInfo',
        method: 'post',
        data: data
    })
}

